Measure distance between Carnegie Mellon University and CVS (closet one) by walking
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/#map=7/42.896/-75.108' banner '' heading 'OpenStreetMap logo OpenStreetMap' [23] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [24] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [25] button '' [26] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [27] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [30] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [31] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [32] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [33] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [34] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [35] link 'About', url='http://10.141.10.6:3000/about' [28] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [29] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] link 'Where is this?', url='http://10.141.10.6:3000/#' [2] textbox 'Search', focused [3] button 'Go' [4] link 'Find directions between two points', url='http://10.141.10.6:3000/directions' image '', url='http://10.141.10.6:3000/assets/directions-b08069e78ff09f082d27a7434b49685efa647060cf51a71d74074ad350e3fd66.png' heading 'Welcome to OpenStreetMap!' [5] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [19] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [20] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [21] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [22] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [6] link 'Learn More', url='http://10.141.10.6:3000/about' [7] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [8] link 'Zoom In', url='http://10.141.10.6:3000/#' [9] link 'Zoom Out', url='http://10.141.10.6:3000/#' [10] button 'Show My Location' [11] link 'Layers', url='http://10.141.10.6:3000/#' [12] link '', url='http://10.141.10.6:3000/#' [13] link 'Share', url='http://10.141.10.6:3000/#' [14] link '', url='http://10.141.10.6:3000/#' [15] link '', url='http://10.141.10.6:3000/#' StaticText '50 km' StaticText '50 mi' StaticText '©' [16] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [17] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [18] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain a walking distance between Carnegie Mellon University and the nearest CVS, the most efficient route is: 1. Search for “Carnegie Mellon University” to locate the campus on the map. 2. Use the directions feature (link id `4`) to open the routing interface. 3. Set the start point to CMU, choose walking mode, and set the destination to the closest CVS (the routing tool will likely offer nearest options). Attempting to find the CVS directly on the map first would be less straightforward due to OSM’s need for explicit routing tools. Thus, the next step is to click the “Find directions between two points” link.
click('4')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain a walking distance route, we first need to set the routing mode to walking (“Foot (OSRM)”). The input fields for the start and destination can be filled in later, but the mode must be changed before submitting the form. Choosing the correct option from the combobox is the most direct next step.
select_option('4', 'Foot (OSRM)')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=False [34] option 'Foot (OSRM)', selected=True [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To generate a walking route between Carnegie Mellon University and a CVS pharmacy, the next required step is to provide the start location. Filling the ‘From’ field with “Carnegie Mellon University” will allow the routing engine to resolve this to the campus location. The destination can be entered later, followed by clicking the ‘Go’ button.
fill('2', 'Carnegie Mellon University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Carnegie Mellon University', focused StaticText 'Carnegie Mellon University' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=False [34] option 'Foot (OSRM)', selected=True [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain the walking distance, we must provide a destination. The simplest approach is to type “CVS” into the “To” field; the routing engine will resolve it to the nearest CVS pharmacy, which is what the goal requires. After filling the “To” field, we will click “Go” to generate the route and capture the walking distance.
fill('3', 'CVS', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' StaticText 'Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='CVS', focused StaticText 'CVS' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=False [35] option 'Foot (OSRM)', selected=True [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The next required action to obtain the walking distance is to submit the routing request. Clicking the “Go” button will trigger the OSRM service to compute a walking path between Carnegie Mellon University and the nearest CVS. After the route loads, the directions panel will display the walking distance, which we can then extract.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#map=7/40.926/-75.729' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/40.926/-75.729' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/40.926/-75.729' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=7/40.926/-75.729' [26] link 'Export', url='http://10.141.10.6:3000/export#map=7/40.926/-75.729' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/40.926/-75.729' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' StaticText 'Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='CVS, Johnston, Providence County, Rhode Island, 02921, United States' StaticText 'CVS, Johnston, Providence County, Rhode Island, 02921, United States' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 963km. Time: 208:42.' row '' cell '' cell '1. Start on unnamed road' cell '40m' row '' cell '' cell '2. Turn left onto unnamed road' cell '10m' row '' cell '' cell '3. Turn right onto unnamed road' cell '80m' row '' cell '' cell '4. At the end of the road turn left onto unnamed road' cell '10m' row '' cell '' cell '5. Turn right onto unnamed road' cell '200m' row '' cell '' cell '6. Turn left onto unnamed road' cell '500m' row '' cell '' cell '7. Turn left onto Beelermont Place' cell '10m' row '' cell '' cell '8. Turn right onto Beeler Street' cell '180m' row '' cell '' cell '9. Continue on Wilkins Avenue' cell '90m' row '' cell '' cell '10. Turn left onto Fair Oaks Street' cell '70m' row '' cell '' cell '11. Turn right onto Annette Way' cell '150m' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B41.789%2C-71.516#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The current route is to the wrong CVS location. Updating the ‘To’ field to a Pittsburgh‑area CVS will generate the correct walking distance. Pressing Enter after entering the new destination will submit the routing request, replacing the previous result.
fill('3', 'CVS Pittsburgh', True)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#map=14/40.4292/-79.9326' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=14/40.4292/-79.9326' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=14/40.4292/-79.9326' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=14/40.4292/-79.9326' [26] link 'Export', url='http://10.141.10.6:3000/export#map=14/40.4292/-79.9326' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=14/40.4292/-79.9326' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' StaticText 'Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='CVS, 4664, Browns Hill Road, Squirrel Hill South, Pittsburgh, Allegheny County, 15217, United States', focused StaticText 'CVS, 4664, Browns Hill Road, Squirrel Hill South, Pittsburgh, Allegheny County, 15217, United States' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=False [31] option 'Foot (OSRM)', selected=True [5] button 'Go' [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 5.4km. Time: 1:12.' table '' row '' cell '' cell '1. Start on unnamed road' cell '40m' row '' cell '' cell '2. Turn left onto unnamed road' cell '10m' row '' cell '' cell '3. Turn right onto unnamed road' cell '80m' row '' cell '' cell '4. At the end of the road turn left onto unnamed road' cell '10m' row '' cell '' cell '5. Turn right onto unnamed road' cell '200m' row '' cell '' cell '6. Turn right onto unnamed road' cell '1000m' row '' cell '' cell '7. Turn right onto Bennington Avenue' cell '10m' row '' cell '' cell '8. Turn left onto Northumberland Street' cell '30m' row '' cell '' cell '9. Turn right onto Murdoch Road' cell '200m' row '' cell '' cell '10. Continue on Murdoch Street' cell '140m' row '' cell '' cell '11. Turn left onto Darlington Road' cell '300m' row '' cell '' cell '12. Turn right onto Wightman Street' cell '800m' row '' cell '' cell '13. At the end of the road turn left onto Pocusset Street' cell '300m' row '' cell '' cell '14. Slight right onto Murray Avenue' cell '20m' row '' cell '' cell '15. Turn right onto unnamed road' cell '20m' row '' cell '' cell '16. Turn left onto unnamed road' cell '200m' row '' cell '' cell '17. Turn left onto unnamed road' cell '10m' row '' cell '' cell '18. At the end of the road turn right onto unnamed road' cell '300m' row '' cell '' cell '19. Turn left onto unnamed road' cell '40m' row '' cell '' cell '20. Sharp right onto unnamed road' cell '140m' row '' cell '' cell '21. Turn left onto unnamed road' cell '110m' row '' cell '' cell '22. Turn right onto Saline Street' cell '1100m' row '' cell '' cell '23. Turn right onto unnamed road' cell '80m' row '' cell '' cell '24. Turn left onto Browns Hill Road (Blue Belt)' cell '190m' row '' cell '' cell '25. Turn left onto unnamed road' cell '40m' row '' cell '' cell '26. At the end of the road turn right onto unnamed road' cell '40m' row '' cell '' cell '27. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/14/4553/6176.png' image '', url='https://tile.openstreetmap.org/14/4554/6176.png' image '', url='https://tile.openstreetmap.org/14/4553/6177.png' image '', url='https://tile.openstreetmap.org/14/4554/6177.png' image '', url='https://tile.openstreetmap.org/14/4553/6175.png' image '', url='https://tile.openstreetmap.org/14/4554/6175.png' image '', url='https://tile.openstreetmap.org/14/4552/6176.png' image '', url='https://tile.openstreetmap.org/14/4555/6176.png' image '', url='https://tile.openstreetmap.org/14/4552/6177.png' image '', url='https://tile.openstreetmap.org/14/4555/6177.png' image '', url='https://tile.openstreetmap.org/14/4553/6178.png' image '', url='https://tile.openstreetmap.org/14/4554/6178.png' image '', url='https://tile.openstreetmap.org/14/4552/6175.png' image '', url='https://tile.openstreetmap.org/14/4555/6175.png' image '', url='https://tile.openstreetmap.org/14/4552/6178.png' image '', url='https://tile.openstreetmap.org/14/4555/6178.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.444%2C-79.943%3B40.414%2C-79.923#' StaticText '500 m' StaticText '2000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The directions panel already displays the walking distance and estimated time for the requested route. No further interaction is required. The information is clear and meets the goal, so we can report it.
stop('The walking distance between Carnegie Mellon University and the nearest CVS is 5.4\u202fkm, expected to take about 1 hour and 12 minutes to walk.')